package net.hn.hnms.biz.plan.service;

import net.hn.hnms.biz.plan.request.ExecutionPriorityWorkReq;
import net.hn.hnms.biz.plan.vo.ExecutionPriorityWorkVo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import java.util.List;

public interface IExecutionPriorityWorkService {

    /**
     * 新增
     * @param executionPriorityWork
     * @return
     */
    int insert(ExecutionPriorityWorkReq executionPriorityWork);

    /**
     * 批量删除
     * @param idList
     */
    void deleteBatch(List<String> idList);

    /**
     * 修改
     * @param executionPriorityWork
     */
    void updateById(ExecutionPriorityWorkReq executionPriorityWork);

    /**
     * 分页查询
     * @param executionPriorityWork
     * @param pageQuery
     * @return
     */
    ResponsePage<ExecutionPriorityWorkVo> selectPageList(ExecutionPriorityWorkReq executionPriorityWork, PageQuery pageQuery);

    ExecutionPriorityWorkVo selectDetailById(String id);

}
